package com.teatrace.webservice.client;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class WebServiceUtils {

	private static ApplicationContext context;
	
	static {
		context = new ClassPathXmlApplicationContext("spring-webservice-client.xml");
	}
	
	public static Object getService(String name) {
		return context.getBean(name);
	}
}
